Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_add
date_add
DateTime::add alias: Add a certain amount of days, months, years, hours, minutes and seconds to a DateTime object.
Name:
date_add
Category:
Date and time
Programming Language:
php
One-line Description:
Add day, month, year, hour, minute, and second to date.
Related
What should you pay attention to when using PHP date_add function to handle leap year dates? Tips and Case Analysis
3
How to Use the date_add Function in PHP for Time Interval Calculations? Practical Applications Shared
7
Similar Functions
date_default_timezone_set
date_default_timezone_set
Setthedefaulttimezon
time
time
ReturnthecurrentUnix
date_create_from_format
date_create_from_format
AliasforDateTime::
date_sun_info
date_sun_info
Returnsanarraywithin
date_timestamp_set
date_timestamp_set
AliasforDateTime::
idate
idate
Formatlocaltime/date
strftime
strftime
Formatlocaltime/date
timezone_version_get
timezone_version_get
Gettheversionoftimez
Popular Articles
What should you pay attention to when using PHP date_add function to handle leap year dates? Tips and Case Analysis
How to Use the date_add Function in PHP for Time Interval Calculations? Practical Applications Shared